import requests
from lxml import etree
for i in range(1,40):
    res = requests.get(f'https://www.dongchedi.com/auto/series/score/3059-x-S0-x-x-x-{i}')
    tree = etree.HTML(res.text)
    blocks = tree.xpath('//article/section')
    for block in blocks:
        model = block.xpath('.//h2/span[2]/text()')[0].strip()
        content = block.xpath('.//p/text()')[0].strip()
        print(model)
        print(content)
